﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///网站的全局数据
/// </summary>
public  class MyData
{
    public static readonly MyData instance = new MyData();
    public List<Dukey.Model.Channel> listb
    {
        get
        {
            return BLL.Channel.instance.GetListByCache("isshow=True and ismain=True");
        }
    }
    public List<Dukey.Model.Article> listArticle
    {
        get
        {
            return BLL.Article.instance.GetListByCache("listArticle");
        }
    }
}
